from configparser import ConfigParser

config = ConfigParser()
config.read('config.ini', encoding='utf-8')
print(config.sections())
print(config['log']['name'])
